package com.lp.biz.train.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

import static com.lp.common.constant.CommonConstant.NEGATE;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-05-04 18:12:21
 */
@Data
public class CreateTrain {

    private Integer id;

    @NotBlank(message = "训练营类型不能为空")
    private String typeCode;

    @NotBlank(message = "title不能为空")
    private String title;

    private String description;

    @NotBlank(message = "训练营横图不能为空")
    private String imageT;

    @NotBlank(message = "训练营竖图不能为空")
    private String imageV;

    private BigDecimal originalPrice;

    private BigDecimal actualPrice;

    private Integer num;

    private String profile;

    private Integer isDisplay;

    private Integer isCharge = NEGATE;
}